#ifndef XML_STRUCT_H
#define XML_STRUCT_H

#include<iostream>
#include<vector>
#include<string>
#include<fstream>

using namespace std;

// 定义 Attendee 结构体，表示参会者信息
struct Attendee {
    std::string name; // 参会者姓名
    std::string position; // 参会者职位
    int age;
    double score;
    bool success;
};
// 定义 Meeting 结构体，表示会议信息
struct Meeting {
    std::string where; // 会议地点
    long long time;//会议时间
    std::vector<Attendee> attendees; // 参会者列表
};
// 定义 Item 结构体，表示待办事项
struct Item {
    std::string priority; // 优先级
    std::string distance; // 距离
    std::string description; // 描述
    std::vector<Meeting> meetings; // 会议列表
};
// 定义 ToDoList 结构体，表示待办事项列表
struct ToDoList {
    std::vector<Item> items; // 待办事项列表
};


struct AllType
{
    int typeInt;
    short typeShort;
    long typeLong;
    long long typeLongLong;
    float typeFloat;
    double typeDouble;
    bool typeBool;
    char typeChar;
    string typeString;

    unsigned char typeUnsignedChar;
    unsigned short typeUnsignedShort;
    unsigned int typeUnsignedInt;
    unsigned long typeUnsigedLong;
    unsigned long long typeUnsigedLongLong;

    signed char typeSignedChar;
    signed short typeSignedShort;
    signed int typeSignedInt;
    signed long typeSigedLong;
    signed long long typeSigedLongLong;


    int typeIntArr[6];
    short typeArr[6];
    long typeLongArr[6];
    long long typeLongLongArr[6];
    float typeFloatArr[6];
    double typeDoubleArr[6];
    bool typeBoolArr[6];
    char typeCharArr[6];
    string typeStringArr[6];

    unsigned char typeUnsignedCharArr[6];
    unsigned short typeUnsignedShortArr[6];
    unsigned int typeUnsignedIntArr[6];
    unsigned long typeUnsigedLongArr[6];
    unsigned long long typeUnsigedLongLongArr[6];

    signed char typeSignedCharArr[6];
    signed short typeSignedShortArr[6];
    signed int typeSignedIntArr[6];
    signed long typeSigedLongArr[6];
    signed long long typeSigedLongLongArr[6];

    vector<int> typeVectorInt;
};




#endif // XML_STRUCT_H
